package com.freight.order.mapper;


import com.freight.order.entity.HistoricalRecords;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface HistoricalRecordsMapper {

    /**
     * 根据用户id和货源id查询找货记录
     * @param userId
     * @param goodsId
     * @return
     */
    List<HistoricalRecords> getHistoricalRecords(@Param(value = "userId") Long userId,@Param(value = "goodsId")  Long goodsId);

}
